home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / NMK / Recorders / RApplication.m < prev    next >
Text File  |  1995-06-12  |  1KB  |  49 lines

  1. /***** RApplication.m -- recording Application object implementation
  2.     NeXTstep Measurement Kit
  3.     by Alex Meyer <ameyer@phoenix.Princeton.EDU>
  4.     for computer science senior thesis
  5.     16 April 1992 -- created
  6.     20 April 1992 -- used poseAs: for ScrollView and removed SliderCell
  7.     21 April 1992 -- added poseAs for RMenu
  8.     23 April 1992 -- used reference to LINKERNAME & removed RButton
  9.     24 April 1992 -- changed over to 100% poseAs: strategy
  10. *****/
  11.  
  12. #import "ButtonCellCover.h"
  13. #import "SliderCellCover.h"
  14. #import "ScrollerCover.h"
  15. #import "MenuCellCover.h"
  16. #import "RApplication.h"
  17.  
  18. @implementation RApplication
  19.  
  20. - startLinker
  21. {
  22.     linker = [TranscriptLinker alloc];
  23.     NXNameObject(LINKERNAME,linker,NXApp);
  24.     [linker init];
  25.     return (self);
  26. }
  27.  
  28.  
  29. + new
  30. {
  31.     [ButtonCellCover poseAs:[ButtonCell class]];
  32.     [SliderCellCover poseAs:[SliderCell class]];
  33.     [ScrollerCover poseAs:[Scroller class]];
  34.     [MenuCellCover poseAs:[MenuCell class]];
  35.     self = [super new];
  36.     [self startLinker];
  37.     return (self);
  38. }
  39.  
  40.  
  41. - free
  42. {
  43.     [linker free];
  44.     [super free];
  45.     return (nil);
  46. }
  47.  
  48. @end
  49.